local controls i.ed female i.inc4 age age2 i.ideology

eststo clear
reg imm treat_sec treat_relig `controls' if white==1 & born_again==1, r
est store a1
reg imm treat_sec treat_relig `controls'  if born_again==0, r
est store a2
reg imm treat_sec treat_relig `controls'  if main==1, r
est store a3
reg imm treat_sec treat_relig `controls'  if cath==1, r
est store a4
reg imm treat_sec treat_relig `controls'  if none==1, r
est store a5
esttab a1 a2 a3 a4 a5 using "~/Dropbox/Immigration/JOP Results/SSI/tables/appendix_controls", ///
star({*} .10 {**} 0.05) obslast nogaps ///
sfmt(4) se(2) b(2) replace booktabs compress label ///
mtitles("White born agains" "Non born agains (all religions)" "Non born-again Christians" "Catholics" "Religious non-identifiers") ///
coeflabels(treat_relig "Religious message" ///
treat_sec "Secular message" ///
  _cons "Intercept") ///
title("Experimental treatment effects on different religious groups") 
